Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <p id="Demo">This is paragraph 1.</p> <p id="demo">This is paragraph 2.</p> <script> // Only parapraph 2 will be overwritten document.getElementById("demo").innerHTML = "HELLO."; </script> </body> <!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_syntax_javascript by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:20:50 GMT --> </html>
Result:
Try it Yourself - © w3schools.com